<div id="aside" class="col_1-3">
    <?php
    $sidebar = 'primary-widget-area';
    
    switch( dt_get_where_filter_params() ) {
        case 'portfolio-single':
            $sidebar = 'portfolio_lingle-widget-area';
            break;
        case 'portfolio-index':
            $sidebar = 'portfolio-widget-area';
            break;
        case 'post-single':
            $sidebar = 'primary_single-widget-area';
            break;
        case 'contact':
            $sidebar = 'contact-widget-area';
            break;
        case 'page':
            $sidebar = 'page-widget-area';
            break;
        case 'blog_slider':
            $sidebar = 'blog_slider-widget-area';
            break;
        case 'home_full':
            $sidebar = 'home_full-widget-area';
            break;
    }
    ?>
    
    <?php dynamic_sidebar( $sidebar ); ?>
    
</div>